package com.njbdqn.mybuy.services;

import java.util.List;

import com.njbdqn.mybuy.dao.ShopsDAO;
import com.njbdqn.mybuy.entity.Shops;

public class ShopsService {
	private ShopsDAO sdao;
	public ShopsService(){
		sdao = new ShopsDAO();
	}
	
	public List<Shops> findAll(){
		return sdao.findAll();
	}
	public Shops findById(int shopid){
		return sdao.findById(shopid);
	} 
	public List<Shops> batchShop(Object [] ids){
		return sdao.findBatchShop(ids);
	}
}

